import { CommandTalkTo } from "./base"
import Insert from "../insert";

@Insert
export class CommandTalkToMonster extends CommandTalkTo {
    constructor() {
        super()
        this.name = "对话明怪"
        this.tags.push("怪物", "明怪")
        this.detail = "对话[明怪,$怪物$]"
        this.insert = "对话[明怪,${1:怪物}]"
        this.docs = ""
    }
}

@Insert
export class CommandTalkToNpc extends CommandTalkTo {
    constructor() {
        super()
        this.name = "对话NPC"
        this.tags.push("NPC", "Npc", "npc")
        this.detail = "对话[NPC,$名字$]"
        this.insert = "对话[NPC,${1:名字}]"
        this.docs = ""
    }
}

@Insert
export class CommandTalkToSubmitNpc extends CommandTalkTo {
    constructor() {
        super()
        this.name = "对话交任务NPC"
        this.tags.push("NPC", "Npc", "npc", "交任务", "任务", "完成")
        this.detail = "对话[任务,$任务$,交任务NPC]"
        this.insert = "对话[任务,${1:任务},交任务NPC]"
        this.docs = ""
    }
}

@Insert
export class CommandTalkToTargetNpc extends CommandTalkTo {
    constructor() {
        super()
        this.name = "对话目标NPC"
        this.tags.push("NPC", "Npc", "npc", "目标", "任务", "完成")
        this.detail = "对话[任务,$任务$,目标NPC]"
        this.insert = "对话[任务,${1:任务},目标NPC]"
        this.docs = ""
    }
}

@Insert
export class CommandTalkToTimerTargetNpc extends CommandTalkTo {
    constructor() {
        super()
        this.name = "对话限时任务目标NPC"
        this.tags.push("NPC", "Npc", "npc", "限时任务", "任务", "完成")
        this.detail = "对话[任务,$任务$,限时任务目标NPC]"
        this.insert = "对话[任务,${1:任务},限时任务目标NPC]"
        this.docs = ""
    }
}

@Insert
export class CommandTalkToSelectMonster extends CommandTalkTo {
    constructor() {
        super()
        this.name = "选择明怪对话"
        this.tags.push("怪物", "明怪", "选择")
        this.detail = "选择[明怪,$对话$]"
        this.insert = "选择[明怪,${1:对话}]"
        this.docs = ""
    }
}

@Insert
export class CommandTalkToSelectNpc extends CommandTalkTo {
    constructor() {
        super()
        this.name = "选择NPC对话"
        this.tags.push("NPC", "Npc", "npc", "选择")
        this.detail = "选择[NPC,$对话$]"
        this.insert = "选择[NPC,${1:对话}]"
        this.docs = ""
    }
}